package refactor.replacetypecodewithstateorstrategy.original;

public class Client {
    public void clientMethod() {
        Employee engineer = new Employee(Employee.ENGINEER);
        engineer.calcPayAmount();
        Employee salesman = new Employee(Employee.SALESMAN);
        salesman.calcPayAmount();
        Employee manager = new Employee(Employee.MANAGER);
        manager.calcPayAmount();
    }
}
